package org.neuedu.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.neuedu.entity.DrugInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lzw
 * @since 2024-11-19
 */
public interface DrugInfoService extends IService<DrugInfo> {
    List<DrugInfo> list(String drugName, String mnemonicCode);
    Boolean update(Integer id, BigDecimal drugPrice, Long quantity);
    IPage<DrugInfo> listPage(Integer pageNo, Integer pageSize, String name);
}
